package cn.stylefeng.guns.modular.rest.tcapi.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AddOrderPutItem {

    private Long id;//入库单明细ID
    private Long billId;//所属主单据ID
    private Long amount;//数量
    private BigDecimal mainUnitAmount;//最小单位数量
    private BigDecimal price;//非税成本单价 (含运费)
    private BigDecimal money;//非税成本金额 (含运费)
    private BigDecimal taxRate;//税率
    private BigDecimal taxRateMoney;//税额
    private BigDecimal taxPrice;//含税成本单价 (含运费)
    private BigDecimal taxMoney;//含税成本金额 (含运费)
    private BigDecimal assistUnitAmount;//辅助数量
    private Boolean preDetailIsAssistUnit;//上级明细单位是否为辅助单位（0-否，1-是)
    private BigDecimal inPrice;//入库非税单价 (不含运费)
    private BigDecimal inMoney;//入库非税金额 (不含运费)
    private BigDecimal inTaxPrice;//入库含税单价 (不含运费)
    private BigDecimal inTaxMoney;//入库含税金额 (不含运费)
    private BigDecimal costTaxRate;//成本税率
    private BigDecimal inTaxRateMoney;//入库税额
    private Long inHouseId;//入库仓库ID
    private String inHouseName;//入库仓库名称
    private String inHouseCode;//入库仓库编码
    private Long outHouseId;//出库仓库ID
    private String outHouseName;//出库仓库名称
    private String outHouseCode;//出库仓库编码
    private Long unitId;//单位id
    private String unitName;//单位名称
    private Long itemTypeId;//品项类别ID
    private String itemTypeName;//品项类别名称
    private String itemCode;//品项编号
    private Long itemId;//品项ID
    private String itemName;//品项名称
    private String itemSpec;//品项规格
    private int giftFlag;//赠品标记 0：否，1：是
    private BigDecimal carriageFee;//运费
    private String batchCode;//批次号
    private String expectArrivalDate;//预期到货时间
    private String detail_memo;//明细备注

}
